<template>
  <div>
    <div class="divs">
      <router-link to="/login">登录</router-link>
      <router-link to="/signin">注册</router-link>
      <router-link to="/essay">文章</router-link>
      <router-link to="/lists">列表</router-link>
      <div class="zwf"></div>
    </div>

    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped lang="less">
.divs {
  width: 100%;
  height: 60px;
  line-height: 60px;

  text-align: center;

  a {
    text-decoration: none;
    padding: 20px 20px;
    color: red;
    font-size: 30px;
  }
  .zwf {
    height: 1px;
    width: 90%;
    background-color: #333;
    margin: -3px auto;
  }
  .router-link-exact-active {
    color: aqua;
  }
}
</style>
